package com.ideaction.entity.giftcode;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Getter
@Setter
@Document
public class CodePool {
    
    @Id
    private String id;
    
    private String codeId;
    
    private int groupId;//组id
    
    private int totalCount;//总数
    
    private int useCount;//使用数量
    
    private Date createTime;//创建时间
    
    private String item;//奖励
}
